package com.example.repository;

import com.example.models.User;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by Lin on 2016/7/1.
 * 数据库操作Dao层
 */
@Repository //用于标注数据访问组件，即DAO组件.
public interface UserRepository extends CrudRepository<User,String> {
}
